Sha256: 61bc3d0dd10bead6cdbddc8ca6f24b41f640ec8081296c0b78901135bccc73ab

Contents?: true

Size: 426 Bytes

Versions: 5

Compression:

Stored size: 426 Bytes

Contents

require 'spec_helper'

describe Machined::Context do
  describe '#machined' do
    it 'returns a reference to the Machined environment' do
      build_context.machined.should be(machined)
    end
  end
  
  describe '#config' do
    it "returns a reference to the Machined environment's configuration" do
      machined.config.layout = 'application'
      build_context.config.layout.should == 'application'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
machined-1.0.0 spec/machined/context_spec.rb
machined-0.9.3 spec/machined/context_spec.rb
machined-0.9.2 spec/machined/context_spec.rb
machined-0.9.1 spec/machined/context_spec.rb
machined-0.9.0 spec/machined/context_spec.rb