Sha256: 0f713c7b74f724f07c9e9b13a229db4db1e2c6baf63b941361ce709b051c7be8

Contents?: true

Size: 352 Bytes

Versions: 8

Compression:

Stored size: 352 Bytes

Contents

require "spec_helper"

describe BetterErrors do
  context ".editor" do
    it "should default to textmate" do
      subject.editor["foo.rb", 123].should == "txmt://open?url=file://foo.rb&line=123"
    end
    
    it "should url escape the filename" do
      subject.editor["&.rb", 0].should == "txmt://open?url=file://%26.rb&line=0"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
better_errors-0.9.0 spec/better_errors_spec.rb
better_errors-0.8.0 spec/better_errors_spec.rb
better_errors-0.7.2 spec/better_errors_spec.rb
better_errors-0.7.0 spec/better_errors_spec.rb
better_errors-0.6.0 spec/better_errors_spec.rb
better_errors-0.5.0 spec/better_errors_spec.rb
better_errors-0.3.2 spec/better_errors_spec.rb
better_errors-0.3.0 spec/better_errors_spec.rb