spec/spork_spec.rb in spork-0.5.2 vs spec/spork_spec.rb in spork-0.5.3

- old
+ new

@@ -53,6 +53,10 @@ it "runs multiple prefork and each_run blocks at different locations" do Spork.prefork { } Spork.each_run { } spec_helper_simulator.should == [:prefork, :each_run] end + + it "expands a caller line, preserving the line number" do + Spork.expanded_caller("/boo/../yah.rb:31").should == "/yah.rb:31" + end end