Sha256: e4995d2b14bed7e2d998462a81a4356051e30d5e5c8a4145ae1db3ee6cceb72f
Contents?: true
Size: 325 Bytes
Versions: 1
Compression:
Stored size: 325 Bytes
Contents
# encoding: utf-8 describe <%= @controller_name.camelcase %> do let(:mock_call) { mock 'Call', :to => '1112223333', :from => "2223334444" } let(:metadata) { {} } subject { <%= @controller_name.camelcase %>.new(mock_call, metadata) } it "should have empty metadata" do subject.metadata.should eq({}) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
adhearsion-2.1.3 | lib/adhearsion/generators/controller/templates/spec/controller_spec.rb |