kwbock
kwbock

Reputation: 647

Rspec selecting wrong table name

I'm trying to get RSpec up and running on my new mountable engine gem. I've followed the guides for setting up rspec on a mountable engine. I'm falling short when I'm setting up fixtures. it's not namespacing the tablename _clips so i'm getting a sql error. I know there's some problems with this and was wondering if there was a good solution.

THanks for your help.

Upvotes: 0

Views: 208

Answers (1)

David Chelimsky
David Chelimsky

Reputation: 9000

This might be fixed by https://github.com/rspec/rspec-rails/issues/448 (fixed in git, but not yet released). Try pointing your Gemfile to rspec-rails from github and see if does:

gem "rspec-rails", :git => "git://github.com/rspec/rspec-rails.git"

Upvotes: 1

Related Questions