KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
rspec
165 questions · page 2 of 4
Follow Tag
Sort by:
Newest
Votes
Active
24
votes
5
answers
Rspec: how to spec request.env in a helper spec?
ruby-on-rails
rspec
request
user-agent
specifications
asked 2012-04-12T21:47:25.550
57
votes
5
answers
How do I simulate a login with RSpec?
ruby-on-rails
rspec
factory-bot
asked 2012-04-12T10:32:49.103
20
votes
2
answers
How do I get coverage for view specs with rspec, rails, and simplecov?
ruby-on-rails
ruby-on-rails-3
rspec
asked 2012-04-06T23:44:37.630
22
votes
3
answers
Filtering sensitive data with VCR
ruby
ruby-on-rails-3
testing
rspec
vcr
asked 2012-03-22T03:43:44.073
9
votes
3
answers
FactoryGirl in Rails - Associations w/ Unique Constraints
ruby
rspec
singleton
factory-bot
asked 2012-03-13T04:26:52.007
48
votes
3
answers
How to test ElasticSearch in a Rails application (Rspec)
ruby-on-rails
ruby-on-rails-3
rspec
elasticsearch
tire
asked 2012-03-12T23:09:12.473
142
votes
10
answers
How to set request headers in rspec request spec?
ruby-on-rails
json
testing
rspec
asked 2012-03-11T11:18:01.933
11
votes
2
answers
How do I test for a 204 response in RSpec in Rails?
ruby-on-rails
ruby
rspec
shoulda
asked 2012-03-03T08:02:51.783
13
votes
5
answers
Rake db:test:prepare in Rails 3 app fails with file not found
ruby-on-rails
rspec
rake
asked 2012-03-01T20:55:23.080
9
votes
1
answers
Duplicated factory error with rspec and factory girl?
ruby-on-rails
rspec
rspec2
factory-bot
asked 2012-02-26T16:10:39.967
23
votes
3
answers
How to test attr_accessible fields in RSpec
ruby-on-rails
rspec
rspec2
rspec-rails
asked 2012-02-16T06:09:56.163
25
votes
1
answers
Rspec & large spec files organisation
ruby-on-rails
ruby
testing
rspec
bdd
asked 2012-02-10T13:08:16.320
21
votes
3
answers
fixture_file_upload has {file} does not exist error
ruby-on-rails
rspec
asked 2012-01-25T22:35:16.810
16
votes
1
answers
RSpec test ArgumentError on method with parameters
ruby
unit-testing
rspec
asked 2012-01-11T15:40:12.530
131
votes
18
answers
Skip callbacks on Factory Girl and Rspec
ruby-on-rails
rspec
factory-bot
asked 2012-01-05T23:02:35.017
42
votes
2
answers
Rails 3.1 plugin gem, dummy test app, rspec
ruby-on-rails
rspec
rubygems
ruby-on-rails-plugins
rspec-rails
asked 2011-12-14T16:16:41.803
19
votes
1
answers
Disable unit testing generators in Rails
ruby-on-rails
unit-testing
rspec
generator
asked 2011-12-13T23:22:54.960
48
votes
12
answers
Is it possible to test the order of elements via RSpec/Capybara?
ruby-on-rails-3
rspec
ruby-on-rails-3.1
capybara
asked 2011-12-07T22:32:50.660
11
votes
1
answers
RSPEC and factory girl SystemStackError: stack level too deep
ruby-on-rails
rspec
factory-bot
factory
asked 2011-11-27T15:09:23.263
10
votes
1
answers
Rspec - Format output as Progress/Documentation/HTML
rspec
asked 2011-11-08T16:20:46.177
8
votes
5
answers
Rails rspec undefined local variable or method `render_views'
ruby-on-rails
rspec
asked 2011-11-06T18:02:48.080
15
votes
3
answers
RSpec list all pending examples
ruby-on-rails
testing
rspec
rspec2
asked 2011-11-02T15:05:52.163
16
votes
1
answers
How to test controllers with nested routes using rspec
ruby-on-rails
rspec
asked 2011-11-01T03:51:31.620
18
votes
4
answers
Testing focus with Capybara
ruby-on-rails-3
rspec
integration-testing
capybara
asked 2011-10-29T17:34:18.633
14
votes
3
answers
`dirname': can't convert nil into String (TypeError)
ruby
rspec
cucumber
bundler
asked 2011-10-28T09:50:17.027
42
votes
6
answers
Rspec: Should be (this or that)
ruby
rspec
asked 2011-10-27T21:00:36.887
18
votes
5
answers
making two requests to the same controller in rails integrations specs
ruby-on-rails
testing
rspec
asked 2011-10-21T14:11:31.730
10
votes
1
answers
How can I use RSpec to test the response code on a CanCan failed authorization?
rspec
controller
cancan
rspec-rails
asked 2011-10-06T22:41:55.527
12
votes
3
answers
Speeding up rspec controllers test: using before all fails?
ruby-on-rails
rspec
rspec2
asked 2011-10-06T15:34:27.260
103
votes
6
answers
How to get rspec-2 to give the full trace associated with a test failure?
ruby
ruby-on-rails-3
testing
rspec
rspec2
asked 2011-10-04T13:56:45.993
72
votes
7
answers
Rails 3.1, RSpec: testing model validations
ruby-on-rails
ruby-on-rails-3
rspec
rspec2
rspec-rails
asked 2011-09-24T04:55:20.707
10
votes
1
answers
In RSpec, what is the difference between stub! and stub?
ruby
rspec
rspec2
asked 2011-09-18T23:52:05.960
16
votes
4
answers
How do I test a redirect in sinatra using rspec?
ruby
rspec
sinatra
padrino
asked 2011-09-15T00:04:43.650
16
votes
2
answers
Testing REST-API responses with Rspec and Rack::Test
ruby-on-rails
ruby
rspec
integration-testing
asked 2011-09-03T08:36:03.070
29
votes
3
answers
post to a different controller in an rspec test
ruby-on-rails
rspec
asked 2011-09-02T23:06:36.870
11
votes
2
answers
Omniauth Rspec testing problem
ruby-on-rails
rspec
omniauth
asked 2011-09-01T01:59:25.277
45
votes
5
answers
RSpec > Is there a way to run all tests with one command?
ruby-on-rails
ruby-on-rails-3
rspec
asked 2011-08-26T11:25:55.840
23
votes
5
answers
problem with rspec test, undefined method 'post'
ruby-on-rails
ruby
rspec
tdd
bdd
asked 2011-08-20T23:32:38.283
30
votes
6
answers
No route matches rspec's anonymous controller
ruby-on-rails-3
rspec
asked 2011-08-11T14:18:38.710
106
votes
7
answers
How to set up factory in FactoryBot with has_many association
rspec
ruby-on-rails-3.1
has-many-through
factory-bot
asked 2011-08-05T22:30:39.513
15
votes
1
answers
Rounding problem with rspec tests when comparing float arrays
ruby-on-rails
arrays
testing
rspec
floating-point
asked 2011-07-28T08:19:45.457
18
votes
3
answers
How can i have rspec test for my default scope
ruby
testing
rspec
scope
default-scope
asked 2011-07-28T03:18:52.693
26
votes
6
answers
Rails 3.0.9 + Devise + Cucumber + Capybara the infamous "No route matches /users/sign_out"
ruby-on-rails-3
rspec
devise
cucumber
capybara
asked 2011-07-05T08:18:15.170
16
votes
5
answers
how do i test cookie expiry in rails rspec
ruby-on-rails-3
cookies
rspec
asked 2011-06-27T12:11:43.727
33
votes
5
answers
Testing ActionMailer multipart emails(text and html version) with RSpec
ruby
ruby-on-rails-3
rspec
actionmailer
multipart
asked 2011-06-27T00:13:05.010
18
votes
4
answers
rspec & devise test helpers
ruby-on-rails
ruby-on-rails-3
rspec
devise
asked 2011-06-19T16:33:30.520
14
votes
6
answers
RSpec: how do I write a test that expects certain output but doesn't care about the method?
ruby
tdd
rspec
asked 2011-06-16T13:36:43.993
44
votes
4
answers
How do I output a variable in a rspec test?
ruby-on-rails
rspec
asked 2011-05-17T03:04:23.830
12
votes
3
answers
Dependent factories in Factory Girl
ruby-on-rails
activerecord
rspec
factory-bot
asked 2011-05-17T01:06:31.717
20
votes
2
answers
Factory with carrierwave upload field
ruby-on-rails
rspec
factory-bot
carrierwave
asked 2011-05-13T10:51:57.043
← Prev
page 2 of 4
Next →