Sha256: e4c938acfbe92419b739ed3a0bb57e807d4dff2aa286d89cdf16b237a3e8c871

Contents?: true

Size: 348 Bytes

Versions: 8

Compression:

Stored size: 348 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

8 entries across 8 versions & 1 rubygems

Version Path
adhearsion-2.3.5 lib/adhearsion/generators/controller/templates/spec/controller_spec.rb
adhearsion-2.3.4 lib/adhearsion/generators/controller/templates/spec/controller_spec.rb
adhearsion-2.3.3 lib/adhearsion/generators/controller/templates/spec/controller_spec.rb
adhearsion-2.3.2 lib/adhearsion/generators/controller/templates/spec/controller_spec.rb
adhearsion-2.3.1 lib/adhearsion/generators/controller/templates/spec/controller_spec.rb
adhearsion-2.3.0 lib/adhearsion/generators/controller/templates/spec/controller_spec.rb
adhearsion-2.2.1 lib/adhearsion/generators/controller/templates/spec/controller_spec.rb
adhearsion-2.2.0 lib/adhearsion/generators/controller/templates/spec/controller_spec.rb