Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 69a63cef280310c1164dda457bdecfd7700b10f0 1 parent 928a3d2
David Chelimsky authored
8  spec/autotest/rails_rspec2_spec.rb
@@ -8,19 +8,19 @@
8 8
   describe 'exceptions' do
9 9
     let(:exceptions_regexp) { rails_rspec2_autotest.exceptions }
10 10
 
11  
-    it "should match './log/test.log'" do
  11
+    it "matches './log/test.log'" do
12 12
       exceptions_regexp.should match('./log/test.log')
13 13
     end
14 14
 
15  
-    it "should match 'log/test.log'" do
  15
+    it "matches 'log/test.log'" do
16 16
       exceptions_regexp.should match('log/test.log')
17 17
     end
18 18
 
19  
-    it "should not match './spec/models/user_spec.rb'" do
  19
+    it "does not match './spec/models/user_spec.rb'" do
20 20
       exceptions_regexp.should_not match('./spec/models/user_spec.rb')
21 21
     end
22 22
 
23  
-    it "should not match 'spec/models/user_spec.rb'" do
  23
+    it "does not match 'spec/models/user_spec.rb'" do
24 24
       exceptions_regexp.should_not match('spec/models/user_spec.rb')
25 25
     end
26 26
   end
2  spec/generators/rspec/model/model_generator_spec.rb
@@ -9,7 +9,7 @@
9 9
 
10 10
   before { prepare_destination }
11 11
 
12  
-  it 'should run both the model and fixture tasks' do
  12
+  it 'runs both the model and fixture tasks' do
13 13
     gen = generator %w(posts)
14 14
     gen.should_receive :create_model_spec
15 15
     gen.should_receive :create_fixture_file

0 notes on commit 69a63ce

Please sign in to comment.
Something went wrong with that request. Please try again.