spec/helper.rb in toystore-0.10.3 vs spec/helper.rb in toystore-0.10.4
- old
+ new
@@ -26,9 +26,14 @@
RSpec.configure do |c|
c.include(Support::Constants)
c.include(Support::Objects)
c.include(IdentityMapMatcher)
+ c.filter_run :focused => true
+ c.alias_example_to :fit, :focused => true
+ c.alias_example_to :xit, :pending => true
+ c.run_all_when_everything_filtered = true
+
c.before(:each) do
Toy::IdentityMap.enabled = false
Toy.clear
Toy.reset
Toy.key_factory = nil