@@ -56,7 +56,7 @@ module RubyEventStore
56
56
end
57
57
58
58
it "publishing with any position to stream with specific position raise an error" do
59
- repository = InMemoryRepository . new ( ensure_supported_any_usage : true )
59
+ repository = InMemoryRepository . new
60
60
repository . append_to_stream ( [ event0 = SRecord . new ] , Stream . new ( "stream" ) , ExpectedVersion . auto )
61
61
62
62
expect do
@@ -65,7 +65,7 @@ module RubyEventStore
65
65
end
66
66
67
67
it "publishing with any position to stream with any position does not raise an error" do
68
- repository = InMemoryRepository . new ( ensure_supported_any_usage : true )
68
+ repository = InMemoryRepository . new
69
69
repository . append_to_stream ( [ event0 = SRecord . new ] , Stream . new ( "stream" ) , ExpectedVersion . any )
70
70
71
71
expect do
@@ -74,7 +74,7 @@ module RubyEventStore
74
74
end
75
75
76
76
it "publishing with specific position to stream with any position raise an error" do
77
- repository = InMemoryRepository . new ( ensure_supported_any_usage : true )
77
+ repository = InMemoryRepository . new
78
78
repository . append_to_stream ( [ event0 = SRecord . new ] , Stream . new ( "stream" ) , ExpectedVersion . any )
79
79
80
80
expect do
@@ -83,7 +83,7 @@ module RubyEventStore
83
83
end
84
84
85
85
it "linking with any position to stream with specific position raise an error" do
86
- repository = InMemoryRepository . new ( ensure_supported_any_usage : true )
86
+ repository = InMemoryRepository . new
87
87
repository . append_to_stream ( [ event0 = SRecord . new ] , Stream . new ( "stream" ) , ExpectedVersion . auto )
88
88
repository . append_to_stream ( [ event1 = SRecord . new ] , Stream . new ( "other" ) , ExpectedVersion . auto )
89
89
@@ -93,7 +93,7 @@ module RubyEventStore
93
93
end
94
94
95
95
it "linking with any position to stream with any position does not raise an error" do
96
- repository = InMemoryRepository . new ( ensure_supported_any_usage : true )
96
+ repository = InMemoryRepository . new
97
97
repository . append_to_stream ( [ event0 = SRecord . new ] , Stream . new ( "stream" ) , ExpectedVersion . any )
98
98
repository . append_to_stream ( [ event1 = SRecord . new ] , Stream . new ( "other" ) , ExpectedVersion . auto )
99
99
@@ -103,7 +103,7 @@ module RubyEventStore
103
103
end
104
104
105
105
it "linking with specific position to stream with any position raise an error" do
106
- repository = InMemoryRepository . new ( ensure_supported_any_usage : true )
106
+ repository = InMemoryRepository . new
107
107
repository . append_to_stream ( [ event0 = SRecord . new ] , Stream . new ( "stream" ) , ExpectedVersion . any )
108
108
repository . append_to_stream ( [ event1 = SRecord . new ] , Stream . new ( "other" ) , ExpectedVersion . auto )
109
109
0 commit comments