Created
September 10, 2014 17:51
-
-
Save jsmestad/b3cb02c9ace509861ca0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rails_helper' | |
RSpec.describe 'Domains Requests' do | |
describe 'GET /api/domains/{id}' do | |
it 'responds with the requested domain' do | |
domain = FactoryGirl.create(:domain) | |
get api_domain_path(domain) | |
expect(response).to have_http_status(200) | |
end | |
end | |
end |
Author
jsmestad
commented
Sep 10, 2014
response.status # => nil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment