Sha256: 6f1f73ee5dc0084f982486a49444d8c7eb3a711635e90c93a59edaea407432e5

Contents?: true

Size: 337 Bytes

Versions: 40

Compression:

Stored size: 337 Bytes

Contents

require "librarian/action/base"

module Librarian
  describe Action::Base do

    let(:env) { mock }
    let(:action) { described_class.new(env) }

    subject { action }

    it { should respond_to :environment }

    it "should have the environment that was assigned to it" do
      action.environment.should be env
    end

  end
end

Version data entries

40 entries across 40 versions & 4 rubygems

Version Path
librarian-puppet-0.9.2.pre vendor/librarian/spec/unit/action/base_spec.rb
librarian-0.0.24 spec/unit/action/base_spec.rb
librarian-puppet-0.9.1 vendor/librarian/spec/unit/action/base_spec.rb
librarian-puppet-0.9.0 vendor/librarian/spec/unit/action/base_spec.rb
librarian-puppet-0.0.1.pre2 vendor/librarian/spec/unit/action/base_spec.rb
librarian-puppet-0.0.1.pre vendor/librarian/spec/unit/action/base_spec.rb
librarian-0.0.23 spec/unit/action/base_spec.rb
librarian-0.0.22 spec/unit/action/base_spec.rb
librarian-0.0.21 spec/unit/action/base_spec.rb
librarian-0.0.20 spec/unit/action/base_spec.rb
librarian-0.0.19 spec/unit/action/base_spec.rb
librarian-0.0.18 spec/unit/action/base_spec.rb
librarian-0.0.17 spec/unit/action/base_spec.rb
librarian-0.0.16 spec/unit/action/base_spec.rb
librarian-0.0.15 spec/unit/action/base_spec.rb
librarian-0.0.14 spec/unit/action/base_spec.rb
librarian-0.0.13 spec/unit/action/base_spec.rb
librarian-0.0.12 spec/unit/action/base_spec.rb
librarian-0.0.11 spec/unit/action/base_spec.rb
librarian-0.0.10 spec/unit/action/base_spec.rb