Sha256: ef3e64e81ee4c4fcd40bcf37d203cb3ac29a4a5d2183b3bd812fbf39c4d1c666
Contents?: true
Size: 394 Bytes
Versions: 4
Compression:
Stored size: 394 Bytes
Contents
require 'spec_helper' describe GreenFlag::Admin::FeaturesController do let(:feature) { GreenFlag::Feature.create(code: 'foo') } describe '#index' do it 'is successful' do get :index expect(response).to be_success end end describe '#show' do it 'is successful' do get :show, :id => feature.id expect(response).to be_success end end end
Version data entries
4 entries across 4 versions & 1 rubygems