Permalink
Browse files

No need to clear source

Source is memoized per spec so it auto goes away.
  • Loading branch information...
1 parent 77ffb59 commit b605eb534c564215d3e9971995cbecae1a4f3c28 @jnunemaker committed Aug 2, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −1 spec/flipper/dsl_spec.rb
  2. +0 −2 spec/flipper/feature_spec.rb
View
@@ -10,7 +10,6 @@
let(:admins_feature) { feature(:admins) }
before do
- source.clear
Flipper.groups = Flipper::Registry.new
end
@@ -32,8 +32,6 @@
Flipper.register(:admins) { |thing| thing.admin? }
Flipper.register(:devs) { |thing| thing.dev? }
-
- source.clear
end
it "initializes with name and adapter" do

0 comments on commit b605eb5

Please sign in to comment.