lib/rspec/roda.rb in rspec-roda-0.2.1 vs lib/rspec/roda.rb in rspec-roda-0.2.2

- old
+ new

@@ -75,20 +75,18 @@ end RSpec.shared_context 'Roda app', roda: :app do include RSpec::Roda::App + subject { last_response } + let(:roda_instance) { roda_class.new(env) } let(:env) { {} } end RSpec.shared_context 'Roda plugin', roda: :plugin do extend RSpec::Roda::Plugin::ClassInterface include_context 'Roda app' let(:route_block) { proc { |r| } } let(:plugin) { described_class } - - it { expect(plugin).to be_a Module } end - -RSpec::Mocks::Syntax.enable_should