Add rspec and request tests
This commit is contained in:
10
spec/requests/dictionary_spec.rb
Normal file
10
spec/requests/dictionary_spec.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe "Dictionary", type: :request do
|
||||
describe "GET /index" do
|
||||
it 'renders the index template' do
|
||||
get "/dictionary"
|
||||
expect(response).to render_template(:index)
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user