KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
rspec
165 questions · page 1 of 4
Follow Tag
Sort by:
Newest
Votes
Active
8
votes
1
answers
Change the order of before hooks in rspec
ruby-on-rails
ruby-on-rails-3
rspec
asked 2013-07-22T00:28:34.410
11
votes
1
answers
Expect to raise_error and test fails because it raises this error
ruby-on-rails-3
rspec
asked 2013-06-20T11:43:29.977
8
votes
2
answers
RSpec and testing Devise's mailer
ruby-on-rails
rspec
devise
tdd
mailer
asked 2013-06-04T11:02:43.510
47
votes
5
answers
How do I `expect` something which raises exception in RSpec?
ruby
unit-testing
testing
rspec
asked 2013-05-31T13:50:31.480
12
votes
2
answers
RSpec 'Expect' Syntax and Idiomatic attribute spec
ruby-on-rails
rspec
asked 2013-05-22T01:38:29.887
98
votes
4
answers
rails rspec before all vs before each
ruby-on-rails
rspec
asked 2013-05-17T20:06:40.653
53
votes
2
answers
Testing STDOUT output in Rspec
ruby
rspec
rspec2
asked 2013-05-12T11:52:51.720
26
votes
2
answers
Rspec: Controller specs for 2 level nested resources
ruby-on-rails
rspec
controller
asked 2013-04-30T08:47:02.960
52
votes
2
answers
Is there a way to unstub in RSpec?
ruby
rspec
asked 2013-04-23T17:37:02.787
24
votes
5
answers
Is there an rspec test for exact length of an attribute?
rspec
tdd
bdd
asked 2013-04-19T21:34:11.163
22
votes
1
answers
Capybara: should have html content
rspec
capybara
asked 2013-04-12T22:24:26.703
10
votes
5
answers
Check if an array has same elements than other, regardless of the order
ruby
rspec
asked 2013-04-10T12:12:00.767
20
votes
3
answers
How to test background jobs (Sidekiq) with Rspec?
ruby-on-rails
rspec
background-process
stub
sidekiq
asked 2013-03-30T10:54:10.160
56
votes
9
answers
Suppress console output during RSpec tests
ruby
rspec
asked 2013-03-15T10:55:06.690
9
votes
2
answers
How to send params with FactoryGirl (as opposed to manually sending the params as a hash)?
ruby-on-rails
ruby
ruby-on-rails-3
rspec
factory-bot
asked 2013-02-26T15:57:20.260
11
votes
1
answers
Undefined method after_create with FactoryGirl
ruby-on-rails-3
rspec
factory-bot
asked 2013-02-21T13:51:28.340
8
votes
1
answers
rails rspec expects fails for custom validations
ruby-on-rails
rspec
rspec-rails
asked 2013-02-05T18:01:52.687
14
votes
6
answers
Resize Chrome's window while using Capybara
ruby-on-rails
google-chrome
selenium
rspec
capybara
asked 2013-01-27T17:39:08.957
9
votes
5
answers
How do i get RSpec's shared examples like behavior in Ruby Test::Unit?
ruby
rspec
testunit
minitest
asked 2013-01-24T17:17:30.647
11
votes
1
answers
RSpec stub helper method in controller spec
ruby-on-rails
rspec
rspec-rails
asked 2013-01-18T18:49:16.893
34
votes
6
answers
How to call an app helper method from an RSpec test in Rails?
ruby-on-rails
rspec
asked 2013-01-18T15:26:58.050
15
votes
2
answers
How can I write javascript tests that don't timeout or fail randomly with rspec, capybara, and poltergeist?
ruby-on-rails
rspec
capybara
bdd
poltergeist
asked 2013-01-12T11:15:50.773
8
votes
3
answers
Upgrading capybara from 1.0.1 to 1.1.4 makes database_cleaner break my specs
ruby-on-rails
selenium
rspec
capybara
database-cleaner
asked 2013-01-10T19:43:20.293
26
votes
3
answers
RSpec retry throw exception and then return value
ruby-on-rails
ruby
rspec
asked 2013-01-08T00:30:35.153
9
votes
1
answers
Running specs throws "Mysql2::Error: Table 'test_db.xxx' doesn't exist: TRUNCATE TABLE xxx
ruby-on-rails
rspec
capybara
asked 2013-01-04T15:28:53.917
16
votes
4
answers
Multiple should statements in one rspec it clause - bad idea?
ruby-on-rails
rspec
asked 2012-12-28T11:29:47.777
13
votes
2
answers
How to make Rspec save_and_open_page automatically when any spec fails
rspec
capybara
asked 2012-12-21T00:03:12.580
28
votes
4
answers
Ruby/Rspec: Possible to compare the content of two objects?
ruby
rspec
asked 2012-12-16T05:17:01.270
8
votes
1
answers
Struct vs test double in ruby
ruby
rspec
mocking
asked 2012-12-12T21:18:44.333
72
votes
1
answers
Shoulda/RSpec matchers - conditional validation
ruby-on-rails
ruby
rspec
shoulda
asked 2012-12-11T02:31:31.437
8
votes
3
answers
How to mock Net::HTTP::Post?
ruby
http
rspec
tdd
bdd
asked 2012-12-07T01:11:40.330
8
votes
4
answers
Why is capybara not available in request specs?
ruby-on-rails
rspec
capybara
asked 2012-12-06T16:00:23.940
9
votes
1
answers
Testing Response cookie with Rspec v.1
ruby-on-rails
ruby
rspec
asked 2012-10-22T09:57:04.613
15
votes
4
answers
Setting default_url_options in test environment doesn't seem to work
ruby-on-rails-3
testing
rspec
asked 2012-10-22T03:06:30.907
8
votes
1
answers
Factory Girl: can one reopen factory definitions and complete them?
ruby-on-rails
unit-testing
rspec
factory-bot
asked 2012-10-11T09:43:35.410
18
votes
1
answers
comparison of Date with ActiveSupport::TimeWithZone failed
ruby-on-rails
ruby
ruby-on-rails-3
unit-testing
rspec
asked 2012-10-10T02:39:53.043
11
votes
1
answers
can I have RSpec without a class for methods
ruby
rspec
asked 2012-10-02T08:22:57.810
22
votes
4
answers
Testing Rake task with Rspec with Rails environment
ruby-on-rails
ruby
rspec
asked 2012-10-02T07:41:54.287
13
votes
3
answers
Should I use "rake spec" or "rspec" (can't get "rake spec" to work)?
ruby-on-rails
rspec
rake
asked 2012-08-28T12:38:53.870
53
votes
5
answers
Is it impossible to use Guard with RubyMine?
ruby-on-rails
rspec
tdd
rubymine
guard
asked 2012-08-16T22:06:49.963
38
votes
3
answers
Fixtures in RSpec
ruby-on-rails
rspec
bdd
fixtures
asked 2012-07-27T08:38:38.713
9
votes
2
answers
SimpleCov reports not generating in Rails 3 app after running RSpec tests with Spork
ruby-on-rails-3
rspec
code-coverage
ruby-on-rails-3.2
spork
asked 2012-07-07T18:10:05.173
18
votes
4
answers
Test output to command line with RSpec
ruby
testing
rspec
asked 2012-07-05T17:15:44.993
14
votes
6
answers
Passing cookies in request spec
rspec
rspec2
rspec-rails
asked 2012-07-03T00:09:46.863
17
votes
5
answers
Automatically share context in RSpec
ruby
rspec
asked 2012-07-01T14:11:45.240
54
votes
11
answers
Set Rspec default GET request format to JSON
ruby-on-rails
rspec
functional-testing
asked 2012-06-13T20:30:14.933
30
votes
6
answers
Unable to stub helper method with rspec
ruby-on-rails
ruby-on-rails-3
rspec
rspec2
rspec-rails
asked 2012-05-10T16:01:37.163
176
votes
6
answers
How can I check that a form field is prefilled correctly using capybara?
forms
rspec
capybara
asked 2012-05-08T17:51:44.257
11
votes
7
answers
Spork doesn't reload code
ruby-on-rails
ruby-on-rails-3
rspec
spork
guard
asked 2012-04-24T09:44:50.523
8
votes
1
answers
Rails: How to test subdomains with RSpec
ruby-on-rails-3
rspec
subdomain
asked 2012-04-17T14:29:43.673
page 1 of 4
Next →