Skip to content
Browse files

remove unsupported feature

  • Loading branch information...
1 parent de2d010 commit 153e5b753d546c069ed279e61640591e3fd0a053 @dchelimsky dchelimsky committed
View
44 features-pending/expectations/expect_error.feature
@@ -1,44 +0,0 @@
-Feature: expect error
-
- Expect a proc to change the state of some object.
-
- Scenario: expect error
- Given a file named "expect_error.rb" with:
- """
- describe Object, "#non_existent_message" do
- it "should raise" do
- expect{Object.non_existent_message}.to raise_error(NameError)
- end
- end
-
- #deliberate failure
- describe Object, "#public_instance_methods" do
- it "should raise" do
- expect{Object.public_instance_methods}.to raise_error(NameError)
- end
- end
- """
- When I run "spec expect_error.rb"
- Then the stdout should match "2 examples, 1 failure"
- Then the stdout should match "expected NameError but nothing was raised"
-
- Scenario: expect no error
- Given a file named "expect_no_error.rb" with:
- """
- describe Object, "#public_instance_methods" do
- it "should not raise" do
- expect{Object.public_instance_methods}.to_not raise_error(NameError)
- end
- end
-
- #deliberate failure
- describe Object, "#non_existent_message" do
- it "should not raise" do
- expect{Object.non_existent_message}.to_not raise_error(NameError)
- end
- end
- """
- When I run "spec expect_no_error.rb"
- Then the stdout should match "2 examples, 1 failure"
- Then the stdout should match "undefined method `non_existent_message'"
-
View
19 features-pending/extensions/custom_example_group.feature
@@ -1,19 +0,0 @@
-Feature: custom example group
-
- Scenario: simple custom example group
- Given a file named "custom_example_group_spec.rb" with:
- """
- class CustomGroup < Spec::ExampleGroup
- end
-
- Spec::Example::ExampleGroupFactory.default(CustomGroup)
-
- describe "setting a default example group base class" do
- it "should use that class by default" do
- CustomGroup.should === self
- end
- end
- """
- When I run "spec custom_example_group_spec.rb"
- Then the stdout should match "1 example, 0 failures"
-

0 comments on commit 153e5b7

Please sign in to comment.
Something went wrong with that request. Please try again.