Sha256: 37021809592371549681ebd78e55643651bcbfdd4dddcdd37076697b0558e047
Contents?: true
Size: 550 Bytes
Versions: 2
Compression:
Stored size: 550 Bytes
Contents
RSpec.configure do |c| c.mock_with :mocha end specrunner = 'ext/jasmine-webkit-specrunner/jasmine-webkit-specrunner' if !File.file?(specrunner) Dir.chdir File.split(specrunner).first do system %{ruby extconf.rb} end end RSpec::Matchers.define :be_a_report_containing do |total, fails, used_console| match do |filename| parts = File.read(filename).strip.split('/') parts.length.should == 4 parts[0].should == total.to_s parts[1].should == fails.to_s parts[2].should == (used_console ? "T" : "F") true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jasmine-headless-webkit-0.4.1 | spec/spec_helper.rb |
jasmine-headless-webkit-0.4.0 | spec/spec_helper.rb |