Displaying 16 results from an estimated 16 matches for "database_cleaner".
2012 Dec 12
1
#8498 postgres_adapter fix for disable_referential_integrity
...sable_referential_integrity''
from
/.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/activerecord-3.2.9/lib/active_record/connection_adapters/postgresql_adapter.rb:528:in
`disable_referential_integrity''
from
/.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/database_cleaner-0.9.1/lib/database_cleaner/active_record/deletion.rb:57:in
`clean''
from
/.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/database_cleaner-0.9.1/lib/database_cleaner/base.rb:39:in
`clean_with''
from
/.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/databas...
2010 Sep 30
5
response.should have_text leads to undefined method `has_text?'
One of my controllers directly renders some JSON output that I would
like to test with RSpec. For that I use ''response.should
have_text("foobar")'' in my spec file, but that leads to a
Failure/Error: response.should have_text("enim")
undefined method `has_text?'' for #<ActionController::TestResponse:
0xb6736944>
I read here somewhere that webrat
2011 Oct 18
8
rspec 1.3.2, Rails 2.3.14 - plugins not loading
...t; ''spec/rails''
gem ''rspec'', ''~> 1.3.2'', :require => ''spec''
gem "capybara", "0.3.9"
gem "cucumber", "0.9.4"
gem "cucumber-rails", "0.3.2"
gem ''database_cleaner''
end
When I run the specs (bundle exec spec spec), I get error messages
because the plugins of the application aren''t loaded.
Indeed, if I bundle the gems in "group :test, :development do ", then
script/server and script/console fail to start as well because the
plugin...
2012 Oct 10
4
How do we get the End of Line date for the gems which we are using Ruby on Rails?
...for the below gems for ROR. Can anyone help me
how to find the EOL dates
- authlogic
- will paginate
- oauth-plugin 0.3.14
- statistics 0.1.1
- YUI
- cucumber 0.6.4
- cucumber-rails 0.3.0
- rspec 1.3.0
- rspec-rails 1.3.2
- webrat 0.7.0
- factory-girl 1.2.4
- database_cleaner 0.5.0
- SSL requirement
- calender_select 1.16.1
- pg 0.9.0
- Exception Logger
- RSA plugin
- Backports 1.18.0
- RSA 0.1.4
- health_check 0.1.0
Thanks in advance.
--
with regards,
RoR Uk
--
You received this message because you are subscribed to the Google Groups &...
2012 Mar 07
6
Can't find the PostgreSQL client library (libpq)
When i try it start my ruby server i get a error that looks like
rails server Could not find pg-0.12.2 in any of the sources
Run `bundle install` to install missing gems.
I dont know what to do
Thanks for all the help
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2010 Sep 27
3
having some issues with factory_girl and bundler...
Hi All
Need some brilliants minds here :)
I''m using Rails 2.3.8 & ruby 1.8 (I know, I know... )
I''ve move my gems from .gems to Bundler, but I''m having some issues with
Factory_girl when I rake spec
"uninitialized constant Factory"
I''m following the instructions from http://gembundler.com/rails23.html.
Basically:
- grab all config.gem and place
2010 Dec 06
0
Rspec: `should': uninitialized constant RSpec::Expectations (NameError)
...'cucumber'', ''>=0.8.5''
gem ''capybara''
gem ''rspec-rails''
gem ''factory_girl_rails''
gem ''webrat'', ''>=0.4.3''
gem ''heroku''
gem ''database_cleaner''
end
Thanks,
David
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to...
2012 Mar 20
0
Setting cache_classes to false results in blank pages
...#39;'jquery-rails''
group :test, :development do
gem ''factory_girl_rails''
gem ''rspec-rails'', ''>= 2.6''
gem ''rspec_multi_matchers''
end
group :test do
gem ''cucumber-rails''
gem ''database_cleaner''
end
gem ''capistrano''
----
br,
Jarkko
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubs...
2014 Apr 29
0
Bootstrap 3.1.1 is showing as BS 2...
...vironments by
default.group :assets do gem 'coffee-rails', '3.2.2' gem 'uglifier',
'1.2.3'endgroup :test do gem 'capybara' gem 'factory_girl_rails',
'4.1.0' gem 'cucumber-rails', '1.2.1', :require => false gem
'database_cleaner', '0.7.0' # gem 'launchy', '2.1.0' # gem 'rb-fsevent',
'0.9.1', :require => false # gem 'growl', '1.0.3'endgroup :production do
gem 'pg', '0.12.2'end*
Any ideas on what might be causing this?....
Thanks in advan...
2010 Dec 08
1
Help on install act_as_ferret on windows XP
...1.15.3)
activeresource (3.0.1, 2.3.8)
activesupport (3.0.1, 2.3.8, 2.3.2, 1.4.4, 1.4.2)
acts_as_indexed (0.6.5, 0.6.3)
arel (1.0.1)
authlogic (2.1.5)
builder (2.1.2)
bundler (1.0.3, 1.0.0.rc.6)
capybara (0.3.9)
configuration (1.1.0)
cucumber (0.8.5)
cucumber-rails (0.3.2)
culerity (0.2.12, 0.2.10)
database_cleaner (0.5.2)
datanoise-actionwebservice (2.3.2)
diff-lcs (1.1.2)
erubis (2.6.6)
factory_girl (1.3.2)
ferret (0.11.5 mswin32)
ffi (0.6.3 x86-mingw32)
friendly_id (3.0.6)
gemcutter (0.6.1)
geokit (1.5.0)
gherkin (2.1.5 i386-mingw32)
heroku (1.9.13)
hobo (1.0.1)
hobofields (1.0.1)
hobosupport (1.0.1)
hoe (...
2012 Dec 04
0
Empty test suite is run after every rake task
...:development, :test do
gem ''brakeman''
gem ''shoulda''
gem ''shoulda-matchers''
gem ''redgreen''
gem ''diff-lcs''
gem ''cucumber-rails''
gem ''capybara''
gem ''database_cleaner''
gem ''rspec-rails'', ''2.7.0''
gem ''rspec_tag_matchers''
gem ''factory_girl''
gem ''spork'', ''~> 0.9.0.rc''
gem ''guard-rspec''
gem ''watchr''...
2012 Jun 14
1
Cucumber/RSpec ::: Capybara? Webrat What am I using??
...ngoid (0.2.0)
childprocess (0.3.2)
chronic (0.6.7)
chunky_png (1.2.5)
cleditor_rails (0.0.3)
coffee-rails (3.2.2)
coffee-script (2.2.0)
coffee-script-source (1.3.3, 1.2.0)
columnize (0.3.6)
compass (0.12.rc.1)
compass-rails (1.0.0.rc.3)
cucumber (1.2.1)
cucumber-rails (1.3.0, 0.3.2)
daemons (1.1.8)
database_cleaner (0.8.0)
delayed_job (3.0.3)
delayed_job_active_record (0.3.2)
devise (2.0.4)
diff-lcs (1.1.3)
enum_column3 (0.1.4)
erubis (2.7.0, 2.6.6)
execjs (1.4.0, 1.3.0)
ffi (1.0.11)
formtastic (2.1.1)
fssm (0.2.8.1)
gherkin (2.11.0)
god (0.12.1)
haml (3.1.4)
haml-rails (0.3.4)
highline (1.6.12)
hike (1.2.1)...
2012 Feb 14
6
cannot load such file -- openssl (again)
...s (1.3.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Using json (1.6.5)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.2.1)
Using coffee-rails (3.2.2)
Using diff-lcs (1.1.3)
Using gherkin (2.7.7)
Using term-ansicolor (1.0.7)
Using cucumber (1.1.4)
Using cucumber-rails (1.2.1)
Using database_cleaner (0.7.1)
Using mysql2 (0.3.11)
Using rails (3.2.1)
Using rspec-core (2.8.0)
Using rspec-expectations (2.8.0)
Using rspec-mocks (2.8.0)
Using rspec (2.8.0)
Using rspec-rails (2.8.1)
Using sass (3.1.15)
Using sass-rails (3.2.4)
Using uglifier (1.2.3)
Your bundle is complete! Use `bundle show [gemname]...
2012 Jan 01
3
'require_tree .' does not seem to be including the available *.js files as expected. Why?
Hi, all,
Happy new year :)
Referring to http://guides.rubyonrails.org/asset_pipeline.html, it
seems that ''require_tree .'' in myapp/app/assets/javascripts/
application.js will include all *.js files in the myapp/app/assets/
javascripts/.
I have a few other *.js files in this directory : parts.js, makes.js
and categories.js.
Here''s an extract from the html file I
2013 Jun 14
0
Support for deferrable constraints in PostgreSQLAdapter#disable_referential_integrity
...hat provide this support (foreigner and schema_plus), and I think it is
useful to encourage innovation in this space. I do, however, strongly
believe that #disable_referential_integrity belongs in ActiveRecord
because it exposes an interface to both internal code (i.e. fixtures)
and 3rd-party code (database_cleaner, yaml_db, etc.) that need this
support, and centralizing that improves the chances of both getting the
behavior implemented correctly and simplifying life for the code that
needs this support to tap into it.
--
You received this message because you are subscribed to the Google Groups "Ruby o...
2012 Feb 13
11
stale records with integration testing?
Hi,
I was writing an integration test for my user signup form (with
capybara), and found that my test was failing due to a validation error:
"email is already taken". I''m a bit confused because I thought when I
run "rspec spec/some_spec.rb", the test database would be wiped clear?
Is that not the case?
Patrick J. Collins
http://collinatorstudios.com