sped up some tests

This commit is contained in:
Hauke Klement
2015-01-30 10:50:44 +01:00
parent 76ceae54b0
commit b08bc8aef2
14 changed files with 65 additions and 46 deletions

View File

@ -55,7 +55,7 @@ describe HintsController do
end
describe 'GET #index' do
let!(:hints) { FactoryGirl.create_pair(:ruby_syntax_error) }
before(:all) { FactoryGirl.create_pair(:ruby_syntax_error) }
before(:each) { get :index, execution_environment_id: execution_environment.id }
expect_assigns(execution_environment: :execution_environment)