@@ -187,13 +187,13 @@ def assert(val)
187
187
it "uses the matcher-generated description" do
188
188
example_group . example { expect ( 5 ) . to eq ( 5 ) }
189
189
example_group . run
190
- expect ( example_group . examples . first . description ) . to eq ( "should eq 5" )
190
+ expect ( example_group . examples . first . description ) . to eq ( "is expected to eq 5" )
191
191
end
192
192
193
193
it "uses the matcher-generated description in the full description" do
194
194
example_group . example { expect ( 5 ) . to eq ( 5 ) }
195
195
example_group . run
196
- expect ( example_group . examples . first . full_description ) . to eq ( "group description should eq 5" )
196
+ expect ( example_group . examples . first . full_description ) . to eq ( "group description is expected to eq 5" )
197
197
end
198
198
199
199
it "uses the file and line number if there is no matcher-generated description" do
@@ -213,7 +213,7 @@ def assert(val)
213
213
it "still uses the matcher-generated description if a matcher ran" do
214
214
example = example_group . example { pending ; expect ( 4 ) . to eq ( 5 ) }
215
215
example_group . run
216
- expect ( example . description ) . to eq ( "should eq 5" )
216
+ expect ( example . description ) . to eq ( "is expected to eq 5" )
217
217
end
218
218
219
219
it "uses the file and line number of the example if no matcher ran" do
@@ -232,7 +232,7 @@ def assert(val)
232
232
after { raise "boom" }
233
233
end . run
234
234
235
- expect ( ex . description ) . to eq ( "should eq 2" )
235
+ expect ( ex . description ) . to eq ( "is expected to eq 2" )
236
236
end
237
237
end
238
238
@@ -268,7 +268,7 @@ def assert(val)
268
268
after { expect ( true ) . to eq ( true ) }
269
269
end . run
270
270
271
- expect ( ex ) . to pass . and have_attributes ( :description => "should be nil" )
271
+ expect ( ex ) . to pass . and have_attributes ( :description => "is expected to be nil" )
272
272
end
273
273
end
274
274
end
@@ -279,7 +279,7 @@ def assert(val)
279
279
it "uses the matcher-generated description" do
280
280
example_group . example { expect ( 5 ) . to eq ( 5 ) }
281
281
example_group . run
282
- expect ( example_group . examples . first . description ) . to eq ( "should eq 5" )
282
+ expect ( example_group . examples . first . description ) . to eq ( "is expected to eq 5" )
283
283
end
284
284
285
285
it "uses the file and line number if there is no matcher-generated description" do
0 commit comments