Sha256: b85c49947b941eb28ef629f580d3fdeea6591ac7730288a6575f26f1fec9cdb0

Contents?: true

Size: 414 Bytes

Versions: 7

Compression:

Stored size: 414 Bytes

Contents

require "spec_helper"

describe Machined::Context do
  describe "#machined" do
    it "returns a reference to the Machined environment" do
      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"
      context.config.layout.should == "application"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
machined-0.7.1 spec/machined/context_spec.rb
machined-0.7.0 spec/machined/context_spec.rb
machined-0.6.0 spec/machined/context_spec.rb
machined-0.5.0 spec/machined/context_spec.rb
machined-0.4.0 spec/machined/context_spec.rb
machined-0.3.1 spec/machined/context_spec.rb
machined-0.3.0 spec/machined/context_spec.rb