Skip to content

Instantly share code, notes, and snippets.

@DamirSvrtan
Created July 14, 2016 16:09
Show Gist options
  • Save DamirSvrtan/4c096a776626644a667fab0ad0cd93db to your computer and use it in GitHub Desktop.
Save DamirSvrtan/4c096a776626644a667fab0ad0cd93db to your computer and use it in GitHub Desktop.
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