Sha256: 472b5c33c2b5c668f4e15f9d2a2c40c8624278794a04b24d54be08e9dbe32e1d

Contents?: true

Size: 347 Bytes

Versions: 6

Compression:

Stored size: 347 Bytes

Contents

require "spec_helper"
require "better_errors/repl/basic"
require "better_errors/repl/shared_examples"

module BetterErrors
  module REPL
    describe Basic do
      let(:fresh_binding) {
        local_a = 123
        binding
      }
      
      let(:repl) { Basic.new fresh_binding }

      it_behaves_like "a good repl should"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
better_errors-0.9.0 spec/better_errors/repl/basic_spec.rb
better_errors-0.8.0 spec/better_errors/repl/basic_spec.rb
better_errors-0.7.2 spec/better_errors/repl/basic_spec.rb
better_errors-0.7.0 spec/better_errors/repl/basic_spec.rb
better_errors-0.6.0 spec/better_errors/repl/basic_spec.rb
better_errors-0.5.0 spec/better_errors/repl/basic_spec.rb