Created
July 14, 2016 16:09
-
-
Save DamirSvrtan/4c096a776626644a667fab0ad0cd93db 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 PokemonsController do | |
describe "GET #index" do | |
it "renders the index template" do | |
get :index | |
expect(response.status).to eq(200) | |
expect(response).to render_template('index) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment