StackOverflow Questions for Tag: database-cleaner

rainkinz
rainkinz

Reputation: 10394

Testing using ActiveRecord's Multi Database Feature

Score: 0

Views: 100

Answers: 0

Read More
Sumit Kumar
Sumit Kumar

Reputation: 31

ActionView::Template::Error: while running rspec in groups or file

Score: 1

Views: 202

Answers: 0

Read More
Anastasia
Anastasia

Reputation: 1

ruby on rails - Unable to load application: LoadError: cannot load such file -- database_cleaner/active_record

Score: 0

Views: 448

Answers: 1

Read More
nimmolo
nimmolo

Reputation: 571

Rails Capybara Minitest with selenium — session not persisted within test

Score: 0

Views: 211

Answers: 1

Read More
Aniket Tiwari
Aniket Tiwari

Reputation: 3998

While running specs entries are getting delete from schema migrations table

Score: 4

Views: 562

Answers: 2

Read More
Travis
Travis

Reputation: 3188

Mongo::Error::OperationFailure: BSON field 'delete.deletes.q' is missing but a required field

Score: 1

Views: 545

Answers: 1

Read More
justingordon
justingordon

Reputation: 12893

Any reason a TX in Rails should not have requires_new: true

Score: 4

Views: 2375

Answers: 2

Read More
Sajid Ali
Sajid Ali

Reputation: 31

Factories {create(:user)} create every time new user in new it block

Score: 0

Views: 142

Answers: 0

Read More
bubbaspaarx
bubbaspaarx

Reputation: 726

rspec failing - Bundle.require(*Rails.groups)

Score: 2

Views: 711

Answers: 1

Read More
GuiCattani
GuiCattani

Reputation: 156

What is "with_after_commit" and why can't I find anything about it?

Score: 0

Views: 100

Answers: 2

Read More
pandancode
pandancode

Reputation: 95

Rspec Capybara Failure/Error: DatabaseCleaner.clean

Score: 1

Views: 1037

Answers: 1

Read More
Matrix
Matrix

Reputation: 3369

DatabaseCleaner don't reset autoincrement index in rails test unit

Score: 3

Views: 1812

Answers: 2

Read More
x6iae
x6iae

Reputation: 4164

database_cleaner is wiping my development database

Score: 6

Views: 3095

Answers: 6

Read More
naushniki
naushniki

Reputation: 21

How to disable database_cleaner for cucumber/rails?

Score: 2

Views: 1695

Answers: 3

Read More
Andrea Elias
Andrea Elias

Reputation: 11

How to clean test database, but not entirely, only the data generated by the tests with RSPEC and Capybara

Score: 1

Views: 835

Answers: 1

Read More
Hyu Kim
Hyu Kim

Reputation: 206

DatabaseCleaner.clean_with(:truncate) does not reset auto incremented id

Score: 6

Views: 4741

Answers: 1

Read More
Caco
Caco

Reputation: 1654

Testing Rails on Ruby with rspec -- it takes too long because of TRUNCATE tables on loading rspec

Score: 1

Views: 1035

Answers: 1

Read More
bmalets
bmalets

Reputation: 3297

Rspec does not save records to DB

Score: 0

Views: 2003

Answers: 1

Read More
james
james

Reputation: 4049

Rspec variable created in before block is deleted by the time feature spec reaches POSTed controller action

Score: 1

Views: 193

Answers: 1

Read More
Grant Birchmeier
Grant Birchmeier

Reputation: 18484

"Environment data not found in the schema." with database-cleaner when calling cucumber repeatedly on Rails 6

Score: 2

Views: 1412

Answers: 1

Read More
PreviousPage 1Next