Sha256: c9f3d358a0643456e4eea8ee336a24bb4bc2adbd171f934ba4098950e1e3a300

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 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)    { double }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
substation-0.0.10.beta2 spec/unit/substation/dispatcher/action_names_spec.rb