Closed dbkbali closed 10 years ago
I am running into a problem in my tests because a conflict between a feature object/method I have defined on my model
class Listing
embeds_one :feature
end
Tests start failing when I use this gem because of this code and when I make a call to listing.feature
lib/minitest/rails/capybara.rb:41:in `feature'
module Kernel # :nodoc: def feature desc, &blk describe "#{desc} Feature Test", &blk end end
would be great if I dont have to rename all my models!
For now have reverted to the previous gem version, if you have any suggestions how I can avoid this conflict would be much appreciated.
Thanks for the great contribution for minitest, really enjoying using this in my testing framework!
Fixed in fac9eeab20778e9caef2858c95bfd19fc0714ec6.
I am running into a problem in my tests because a conflict between a feature object/method I have defined on my model
class Listing
embeds_one :feature
end
Tests start failing when I use this gem because of this code and when I make a call to listing.feature
lib/minitest/rails/capybara.rb:41:in `feature'
module Kernel # :nodoc: def feature desc, &blk describe "#{desc} Feature Test", &blk end end
would be great if I dont have to rename all my models!
For now have reverted to the previous gem version, if you have any suggestions how I can avoid this conflict would be much appreciated.
Thanks for the great contribution for minitest, really enjoying using this in my testing framework!