Sha256: cf2e69dbc66012de3ce3c9dc46fe123407713bfdf5e8ae60d47ec27027594299

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

require 'spec_helper'

describe Alternator::Action do
  before do
    class Action
      include Alternator::Action
    end
  end

  let(:arguments) { ['some', 'arguments'] }
  let(:action)    { Action.new arguments }

  describe '#arguments' do
    it 'return the arguments' do
      action.arguments.must_equal arguments
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alternator-0.0.2 spec/action_spec.rb