Skip to content

Commit

Permalink
Removed merge lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
etagwerker committed Oct 14, 2014
1 parent 61feda0 commit 84cabca
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions spec/database_cleaner/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,8 @@ module DatabaseCleaner

describe "comparison" do
it "should be equal if orm, connection and strategy are the same" do
<<<<<<< HEAD
strategy = double("strategy")
=======
strategy = mock("strategy")
strategy.stub!(:to_ary => [strategy])
>>>>>>> bb3dce2558d2888ef581affb0de4d5e55118cd3d

one = DatabaseCleaner::Base.new(:active_record,:connection => :default)
one.strategy = strategy
Expand Down Expand Up @@ -253,15 +249,11 @@ module DatabaseCleaner
end

describe "strategy_db=" do
<<<<<<< HEAD
let(:strategy) { double("strategy") }
=======
let(:strategy) {
mock("strategy").tap{|strategy|
strategy.stub!(:to_ary => [strategy])
}
}
>>>>>>> bb3dce2558d2888ef581affb0de4d5e55118cd3d

before(:each) do
subject.strategy = strategy
Expand Down Expand Up @@ -361,15 +353,11 @@ module DatabaseCleaner
end

describe "strategy=" do
<<<<<<< HEAD
let(:mock_strategy) { double("strategy") }
=======
let(:mock_strategy) {
mock("strategy").tap{|strategy|
strategy.stub!(:to_ary => [strategy])
}
}
>>>>>>> bb3dce2558d2888ef581affb0de4d5e55118cd3d

it "should proxy symbolised strategies to create_strategy" do
subject.should_receive(:create_strategy).with(:symbol)
Expand Down Expand Up @@ -409,13 +397,9 @@ module DatabaseCleaner
end

it "returns the set strategy" do
<<<<<<< HEAD
strategum = double("strategy")
=======
strategum = mock("strategy").tap{|strategy|
strategy.stub!(:to_ary => [strategy])
}
>>>>>>> bb3dce2558d2888ef581affb0de4d5e55118cd3d
subject.strategy = strategum
subject.strategy.should eq strategum
end
Expand Down

0 comments on commit 84cabca

Please sign in to comment.