Sha256: ff4698bd06ad7be4397cbceb3c90296b4fdaac927d2522366951abfd8fb66160
Contents?: true
Size: 356 Bytes
Versions: 19
Compression:
Stored size: 356 Bytes
Contents
require 'spec_helper' describe SongsController, :type => :controller do it 'should allow to skip a required power check' do expect { get :show, :id => '1' }.to_not raise_error end it "should raise an error if an action is not checked against a power" do expect { put :update, :id => '1' }.to raise_error(Consul::UncheckedPower) end end
Version data entries
19 entries across 19 versions & 1 rubygems