Skip to content
Browse files

Remove unncessary before hook from example.

- Closes #348
  • Loading branch information...
1 parent 9ef3edc commit ae1c9fa664c39c73409b1eae7d2b22fedf975758 @andersonleite andersonleite committed with dchelimsky Apr 2, 2011
Showing with 2 additions and 7 deletions.
  1. +2 −7 spec/autotest/rails_rspec2_spec.rb
View
9 spec/autotest/rails_rspec2_spec.rb
@@ -26,16 +26,11 @@
end
describe 'mappings' do
- before do
- rails_rspec2_autotest.find_order = %w(
- spec/models/user_spec.rb
- spec/support/blueprints.rb
- )
- end
-
it 'runs model specs when support files change' do
+ rails_rspec2_autotest.find_order = %w(spec/models/user_spec.rb spec/support/blueprints.rb)
rails_rspec2_autotest.test_files_for('spec/support/blueprints.rb').should(
include('spec/models/user_spec.rb'))
end
end
+
end

0 comments on commit ae1c9fa

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