Sha256: 91563e278ec7121c6e1589525491889b3ea5cc7646dcd054901613234b594ca2
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
require 'spec_helper' describe 'method call matcher with args' do context "content with call hello" do call = %{ devise :database_authenticatable, :confirmable, :recoverable, :rememberable, :trackable, :validatable } it "should have call to hello" do call.should have_call :devise, :args => [:confirmable, :trackable] call.should_not have_call :devise, :args => [:confirmable, :trackable_ids] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
code-spec-0.2.2 | spec/code-spec/matchers/have_call_args.rb |