Skip to content

Commit

Permalink
Dont fail-fast in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Jun 5, 2015
1 parent 9f9929b commit a57799d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion .rspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
--tty
--colour
--format <%= ENV["CI"] ? 'progress' : 'documentation'%>
--fail-fast
20 changes: 0 additions & 20 deletions spec/mongoid/config/environment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,6 @@

context "when using rails" do

context "when no environment exists" do

before do
Object.send(:remove_const, :Rails) if defined?(Rails)
module Rails
end
end

after do
RailsTemp = Rails
Object.send(:remove_const, :Rails)
end

it "returns the rails environment" do
expect {
described_class.env_name
}.to raise_error(Mongoid::Errors::NoEnvironment)
end
end

context "when an environment exists" do

before do
Expand Down

0 comments on commit a57799d

Please sign in to comment.