Sha256: 6b5d7f8ad0f380ec3c0c2d345c53dbaf55334ac8a6cfa1c1c655312865a58787
Contents?: true
Size: 667 Bytes
Versions: 10
Compression:
Stored size: 667 Bytes
Contents
require 'spec_helper' require 'albacore/mspectestrunner' describe MSpecTestRunner, "when providing configuration" do let :mspec do Albacore.configure do |config| config.mspec.command = "test" end mspec = MSpecTestRunner.new end it "should use the configured values" do mspec.command.should == "test" end end describe MSpecTestRunner, "when overriding the command through the initializer" do let :mspec do Albacore.configure do |config| config.mspec.command = "configured" end mspec = MSpecTestRunner.new("override") end it "should use the command override" do mspec.command.should == "override" end end
Version data entries
10 entries across 10 versions & 1 rubygems