Sha256: eb792234c5d6c2e84e0c4ca4ac6c0b7aef58d68bb814f398fed710f77722c085
Contents?: true
Size: 936 Bytes
Versions: 39
Compression:
Stored size: 936 Bytes
Contents
require File.expand_path("#{File.dirname(__FILE__)}/../../spec_helper") module RR module Adapters describe Rspec do describe "#trim_backtrace" do it "does not set trim_backtrace" do RR.trim_backtrace.should == false end end describe ".included" do it "does not add backtrace identifier twice" do length = ::Spec::Runner::QuietBacktraceTweaker::IGNORE_PATTERNS.length class << Object.new include ::RR::Adapters::Rspec end ::Spec::Runner::QuietBacktraceTweaker::IGNORE_PATTERNS.length.should == length end end describe "backtrace tweaking" do it "hides rr library from the backtrace by default" do dir = File.dirname(__FILE__) output = `ruby #{dir}/rspec_backtrace_tweaking_spec_fixture.rb` output.should_not include("lib/rr") end end end end end
Version data entries
39 entries across 35 versions & 7 rubygems