← Back to Upcase

Clearance feature specs

(Jon Seidel) #1

I’ve installed Clearance in my app and also generated the feature specs (rails g clearance:specs), but when I run them, the test database is not properly cleaned up.

I’ve got database_cleaner installed & configured and all my other tests run just fine, but the spec


fails because there’s data left over from a previous test. Any ideas as to why that is?

(Jon Seidel) #2

@benorenstein - Got any suggestions on this? Thanks…jon

(Ben Orenstein) #3

Hi Jon. Nothing jumps out at me.

@jyurek might be able to help here.

(Dan Croak) #4

@JESii I see your related GitHub issue at https://github.com/thoughtbot/clearance/issues/356

Let’s work through it there.