Browse files

remove misleading feature

  • Loading branch information...
1 parent b599a42 commit 4397a5ac07dbed2e7690ae9626d8d82f54ae7056 @dchelimsky dchelimsky committed Jul 7, 2010
Showing with 1 addition and 29 deletions.
  1. +0 −28 features/mocks/mix_stubs_and_mocks.feature
  2. +1 −1 spec/rspec/mocks/bug_report_957_spec.rb
View
28 features/mocks/mix_stubs_and_mocks.feature
@@ -1,28 +0,0 @@
-Feature: Spec and test together
-
- As an RSpec user
- I want to use stubs and mocks together
-
- Scenario: stub in before
- Given a file named "stub_and_mocks_spec.rb" with:
- """
- require 'rspec/expectations'
-
- RSpec.configure do |config|
- config.mock_framework = :rspec
- end
-
- describe "a stub in before" do
- before(:each) do
- @messenger = double('messenger').as_null_object
- end
-
- it "a" do
- @messenger.should_receive(:foo).with('first')
- @messenger.foo('second')
- @messenger.foo('third')
- end
- end
- """
- When I run "rspec ./stub_and_mocks_spec.rb -fs"
- Then the output should contain "received :foo with unexpected arguments"
View
2 spec/rspec/mocks/bug_report_957_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'
-module Spec
+module RSpec
module Mocks
describe "stubbing a base class class method" do
before do

0 comments on commit 4397a5a

Please sign in to comment.