Sha256: 8280e65d54cb2c0d65b1751adb868ad9f646d6e55addf7a69562be74bbce9dff
Contents?: true
Size: 335 Bytes
Versions: 11
Compression:
Stored size: 335 Bytes
Contents
require "spec_helper" describe ApplicationController, type: :controller do controller do def index render plain: 'Done' end end describe "when calling index action" do it 'should be done' do get :index expect(response.status).to eq(200) expect(response.body).to eq "Done" end end end
Version data entries
11 entries across 11 versions & 1 rubygems