From 22c5c822814f426f49701e1729d2852787c535ff Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Fri, 21 Mar 2014 01:35:34 +0400 Subject: [PATCH] #345: fixed platforms_controller_spec.rb --- spec/controllers/platforms/platforms_controller_spec.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/controllers/platforms/platforms_controller_spec.rb b/spec/controllers/platforms/platforms_controller_spec.rb index 9eaf9d9e6..440667b31 100644 --- a/spec/controllers/platforms/platforms_controller_spec.rb +++ b/spec/controllers/platforms/platforms_controller_spec.rb @@ -238,7 +238,6 @@ shared_examples_for 'platform user without global admin rights' do [:create, :make_clone].each do |action| context "platform user without #{action} rights" do - before { any_instance_of(Platform, create_directory: true) } it "should not be able to perform #{action} action" do post action, clone_or_create_params response.should_not be_success @@ -335,7 +334,6 @@ describe Platforms::PlatformsController do [:make_clone, :create].each do |action| context "with #{action} rights" do before do - any_instance_of(Platform, create_directory: true) clone_or_create_params[:platform][:owner_id] = @admin.id end it "should be able to perform #{action} action" do