Sha256: ccea436862e0f3347307402cdb258f2535a92159f01fdbf2dccf15fb9984e998

Contents?: true

Size: 409 Bytes

Versions: 6

Compression:

Stored size: 409 Bytes

Contents

require 'spec_helper'

describe GreenFlag::Admin::FeatureDecisionSummariesController do

  let(:feature) { GreenFlag::Feature.create(code: 'asdf') }

  describe '#show' do
    subject { get :show, feature_id: feature.id, format: 'js' }
    it { should be_successful }
  end

  describe '#update' do
    subject { post :update, feature_id: feature.id, format: 'js' }
    it { should be_successful }
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
green_flag-0.4.0 spec/controllers/admin/feature_decision_summaries_controller_spec.rb
green_flag-0.3.0 spec/controllers/admin/feature_decision_summaries_controller_spec.rb
green_flag-0.2.0 spec/controllers/admin/feature_decision_summaries_controller_spec.rb
green_flag-0.1.2 spec/controllers/admin/feature_decision_summaries_controller_spec.rb
green_flag-0.1.1 spec/controllers/admin/feature_decision_summaries_controller_spec.rb
green_flag-0.1.0 spec/controllers/admin/feature_decision_summaries_controller_spec.rb