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

@ -72,7 +72,7 @@ describe ExecutionEnvironmentsController do
end
describe 'GET #index' do
let!(:execution_environments) { FactoryGirl.create_pair(:ruby) }
before(:all) { FactoryGirl.create_pair(:ruby) }
before(:each) { get :index }
expect_assigns(execution_environments: ExecutionEnvironment.all)