Sha256: 261ab3bde8b8d60e9c5ee23b8dd81122730f20d3b1f9bf9f5775741b27aa693d

Contents?: true

Size: 302 Bytes

Versions: 8

Compression:

Stored size: 302 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Dispatcher, '#action_names' do

  subject { object.action_names }

  let(:object) { described_class.new(config, env) }
  let(:config) { { :test => { :action => Spec::Action::Success } } }
  let(:env)    { mock }

  it { should eql(Set[ :test ]) }
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
substation-0.0.9 spec/unit/substation/dispatcher/action_names_spec.rb
substation-0.0.8 spec/unit/substation/dispatcher/action_names_spec.rb
substation-0.0.7 spec/unit/substation/dispatcher/action_names_spec.rb
substation-0.0.6 spec/unit/substation/dispatcher/action_names_spec.rb
substation-0.0.5 spec/unit/substation/dispatcher/action_names_spec.rb
substation-0.0.4 spec/unit/substation/dispatcher/action_names_spec.rb
substation-0.0.3 spec/unit/substation/dispatcher/action_names_spec.rb
substation-0.0.2 spec/unit/substation/dispatcher/action_names_spec.rb