Sha256: 04b059b5cbdda346715b99aea83aa3aa1d3ed299eb3dd7696b113e38b0192a70
Contents?: true
Size: 695 Bytes
Versions: 4
Compression:
Stored size: 695 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.2.5 | spec/mspec_spec.rb |
albacore-0.2.4 | spec/mspec_spec.rb |
albacore-0.2.3 | spec/mspec_spec.rb |
albacore-0.2.2 | spec/mspec_spec.rb |