Last active
August 29, 2015 13:59
-
-
Save luizkowalski/10978849 to your computer and use it in GitHub Desktop.
This file contains 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 'spec_helper' | |
describe StatusController do | |
describe "GET status_jid" do | |
it "deve retornar o status do job" do | |
jid = "2a5ee8e6244fffa63263f9d6" | |
get 'status_jid', {jid: jid} | |
json = JSON.parse(response.body) | |
json = OpenStruct.new json | |
expect(response).to be_success | |
json.status.should be_false | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment