Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

replace 'it "should' with 'it "does' (using should_clean gem)

  • Loading branch information...
commit 69a63cef280310c1164dda457bdecfd7700b10f0 1 parent 928a3d2
@dchelimsky dchelimsky authored
View
8 spec/autotest/rails_rspec2_spec.rb
@@ -8,19 +8,19 @@
describe 'exceptions' do
let(:exceptions_regexp) { rails_rspec2_autotest.exceptions }
- it "should match './log/test.log'" do
+ it "matches './log/test.log'" do
exceptions_regexp.should match('./log/test.log')
end
- it "should match 'log/test.log'" do
+ it "matches 'log/test.log'" do
exceptions_regexp.should match('log/test.log')
end
- it "should not match './spec/models/user_spec.rb'" do
+ it "does not match './spec/models/user_spec.rb'" do
exceptions_regexp.should_not match('./spec/models/user_spec.rb')
end
- it "should not match 'spec/models/user_spec.rb'" do
+ it "does not match 'spec/models/user_spec.rb'" do
exceptions_regexp.should_not match('spec/models/user_spec.rb')
end
end
View
2  spec/generators/rspec/model/model_generator_spec.rb
@@ -9,7 +9,7 @@
before { prepare_destination }
- it 'should run both the model and fixture tasks' do
+ it 'runs both the model and fixture tasks' do
gen = generator %w(posts)
gen.should_receive :create_model_spec
gen.should_receive :create_fixture_file
Please sign in to comment.
Something went wrong with that request. Please try again.