@@ -98,7 +98,7 @@ def subscribed
98
98
99
99
expect {
100
100
expect ( subscription ) . to have_stream_from ( "chat_2" )
101
- } . to raise_error ( /expected to have stream "chat_2" started, but have \[ \ " chat_1\ "\] / )
101
+ } . to raise_error ( /expected to have stream "chat_2" started, but have \[ "chat_1"\] / )
102
102
end
103
103
104
104
context "with negated form" do
@@ -113,7 +113,7 @@ def subscribed
113
113
114
114
expect {
115
115
expect ( subscription ) . not_to have_stream_from ( "chat_1" )
116
- } . to raise_error ( /expected not to have stream "chat_1" started, but have \[ \ " chat_1\ "\] / )
116
+ } . to raise_error ( /expected not to have stream "chat_1" started, but have \[ "chat_1"\] / )
117
117
end
118
118
end
119
119
@@ -129,7 +129,7 @@ def subscribed
129
129
130
130
expect {
131
131
expect ( subscription ) . to have_stream_from ( a_string_starting_with ( "room" ) )
132
- } . to raise_error ( /expected to have stream a string starting with "room" started, but have \[ \ " chat_1\ "\] / )
132
+ } . to raise_error ( /expected to have stream a string starting with "room" started, but have \[ "chat_1"\] / )
133
133
end
134
134
end
135
135
end
@@ -160,7 +160,7 @@ def subscribed
160
160
161
161
expect {
162
162
expect ( subscription ) . to have_stream_for ( StreamModel . new ( 31_337 ) )
163
- } . to raise_error ( /expected to have stream "broadcast:StreamModel#31337" started, but have \[ \ " broadcast:StreamModel#42\ "\] / )
163
+ } . to raise_error ( /expected to have stream "broadcast:StreamModel#31337" started, but have \[ "broadcast:StreamModel#42"\] / )
164
164
end
165
165
166
166
context "with negated form" do
@@ -175,7 +175,7 @@ def subscribed
175
175
176
176
expect {
177
177
expect ( subscription ) . not_to have_stream_for ( StreamModel . new ( 42 ) )
178
- } . to raise_error ( /expected not to have stream "broadcast:StreamModel#42" started, but have \[ \ " broadcast:StreamModel#42\ "\] / )
178
+ } . to raise_error ( /expected not to have stream "broadcast:StreamModel#42" started, but have \[ "broadcast:StreamModel#42"\] / )
179
179
end
180
180
end
181
181
end
0 commit comments