spec/shared/consul/controllers/users_controller_spec.rb in consul-0.9.1 vs spec/shared/consul/controllers/users_controller_spec.rb in consul-0.10.0

- old
+ new

@@ -9,17 +9,17 @@ it 'should allow to map actions to another power using the :map option' do expect { get :show, :id => '1' }.to_not raise_error end - describe '.power_name_for_action' do - - it 'should return the name of the power for the given action (feature request from devolute)' do - UsersController.power_name_for_action(:show).should == :always_true - UsersController.power_name_for_action('show').should == :always_true - UsersController.power_name_for_action(:update).should == :always_false - UsersController.power_name_for_action('update').should == :always_false - end - - end + #describe '.power_name_for_action' do + # + # it 'should return the name of the power for the given action (feature request from devolute)' do + # UsersController.power_name_for_action(:show).should == :always_true + # UsersController.power_name_for_action('show').should == :always_true + # UsersController.power_name_for_action(:update).should == :always_false + # UsersController.power_name_for_action('update').should == :always_false + # end + # + #end end