Skip to content
Browse files

Enabling pending feature

  • Loading branch information...
1 parent 36f9fab commit f4fe5f5a985ef50b2d727ba968877694b0c2ed5c @spicycode spicycode committed
View
4 ...hers/define_matcher_outside_rspec.feature → ...hers/define_matcher_outside_rspec.feature
@@ -9,7 +9,7 @@ Feature: define matcher outside rspec
"""
$:.unshift File.join(File.dirname(__FILE__), "/../../lib")
require 'test/unit'
- require 'spec/expectations'
+ require 'rspec/expectations'
Rspec::Matchers.define :be_a_multiple_of do |expected|
match do |actual|
@@ -18,7 +18,7 @@ Feature: define matcher outside rspec
end
class Test::Unit::TestCase
- include Spec::Matchers
+ include Rspec::Matchers
end
class TestMultiples < Test::Unit::TestCase
View
2 lib/rspec/core/configuration.rb
@@ -116,7 +116,7 @@ def formatter_class
def formatter=(formatter_to_use)
formatter_class = case formatter_to_use.to_s
- when /doc/
+ when /doc/, 's'
Rspec::Core::Formatters::DocumentationFormatter
when 'progress'
Rspec::Core::Formatters::ProgressFormatter

0 comments on commit f4fe5f5

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