Sha256: 0bf5c911f2bb39021ff669da8ed079ed4657714bade74c3a704d54ad2a773838

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 Bytes

Contents

require 'webmock/rspec'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'lessonly'
require 'support/fake_lessonly'

WebMock.disable_net_connect!

RSpec.configure do |c|
  c.before(:example) do
    WebMock.stub_request(:any, /api.lesson.ly/).to_rack(FakeLessonly)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lessonly-ruby-0.1.3 spec/spec_helper.rb
lessonly-ruby-0.1.2 spec/spec_helper.rb
lessonly-ruby-0.1.1 spec/spec_helper.rb
lessonly-ruby-0.1.0 spec/spec_helper.rb
lessonly-ruby-0.0.1 spec/spec_helper.rb