Sha256: b93203cdb20ec631edba222c1be44761b26f5e2f89e46e460fcddca769194dd7
Contents?: true
Size: 704 Bytes
Versions: 4
Compression:
Stored size: 704 Bytes
Contents
require 'spec/spec_helper.rb' describe Uberspec::Config do context "when initialized" do before(:each) do @config = Uberspec::Config.new end it "should add default code path when initialized" do @config.code_paths.length.should == 1 end it "should add default spec path when initialized" do @config.spec_paths.length.should == 1 end it "should set the default notification library to false" do @config.notify.should == false end [:passed, :failed, :pending].each do |status| it "should set the default #{status} image" do @config.send("#{status}_image").should match(/^.*\/#{status}\.png/i) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
uberspec-0.2.1 | spec/uberspec/config_spec.rb |
uberspec-0.2.0 | spec/uberspec/config_spec.rb |
uberspec-0.1.1 | spec/uberspec/config_spec.rb |
uberspec-0.1.0 | spec/uberspec/config_spec.rb |