now getting
Failure/Error: it { should
have_db_index([:user, :currency, :tradable]) }
Expected Balance to have a index on columns user and currency
and tradable ()
but the indexes are in the db.. (dev and test)
Indexes:
Action KeynameType
Un
I moved your post to the bottom. Please read http://idallen.com/topposting.html
On Sep 2, 2011, at 5:58 PM, slavix wrote:
> On Sep 2, 6:17 am, David Chelimsky wrote:
>> On Sep 2, 2011, at 4:12 AM, slavix wrote:
>>
>>> Hello,
>>> I am developing a rails 3.1 app. My Gemfile has shoulda gems
>>>
Thanks,
I updated spec with correct statements
it { should have_db_index([:user, :currency, :tradable]) }
--
and my db (dev and test) has the indexes
Indexes:
Action Keyname TypeUnique Packed Field Cardinality Collation
Null
Comment
EditDropPRIMARY BTREE Ye
On Sep 2, 2011, at 10:57 AM, Bhavin P. wrote:
> Hi guys,
> I am interested in getting information regarding using Cucumber for
> backend testing?
The Cucumber list is at http://groups.google.com/group/cukes.
Cheers,
David
___
rspec-users mailing list
r
Hi guys,
I am interested in getting information regarding using Cucumber for
backend testing?
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Sep 2, 2011, at 4:12 AM, slavix wrote:
> Hello,
> I am developing a rails 3.1 app. My Gemfile has shoulda gems
> Gemfile
> ..
> gem "shoulda"
> gem "shoulda-matchers"
You only need shoulda-matchers if you're using rspec.
> In a model spec I have
> spec file
> it { should have_indices([:user,
Hello,
I am developing a rails 3.1 app. My Gemfile has shoulda gems
Gemfile
..
gem "shoulda"
gem "shoulda-matchers"
In a model spec I have
spec file
it { should have_indices([:user, :currency]) }
And I get this error...
NoMethodError:
undefined method `has_indices?' for #
_