Sha256: bf15e01f35704e62cebf1c35c054a56435ce153cd29b41d1b5b62d0d40dc555d

Contents?: true

Size: 361 Bytes

Versions: 8

Compression:

Stored size: 361 Bytes

Contents

require 'helper'

describe Flipper::UI::Actions::AddFeature do
  describe "GET /features/new" do
    before do
      get "/features/new"
    end

    it "responds with success" do
      last_response.status.should be(200)
    end

    it "renders template" do
      last_response.body.should include('<form action="/features" method="post">')
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
flipper-ui-0.7.1 spec/flipper/ui/actions/add_feature_spec.rb
flipper-ui-0.7.0 spec/flipper/ui/actions/add_feature_spec.rb
flipper-ui-0.7.0.beta6 spec/flipper/ui/actions/add_feature_spec.rb
flipper-ui-0.7.0.beta5 spec/flipper/ui/actions/add_feature_spec.rb
flipper-ui-0.7.0.beta4 spec/flipper/ui/actions/add_feature_spec.rb
flipper-ui-0.2.0.beta5 spec/flipper/ui/actions/add_feature_spec.rb
flipper-ui-0.2.0.beta4 spec/flipper/ui/actions/add_feature_spec.rb
flipper-ui-0.2.0.beta3 spec/flipper/ui/actions/add_feature_spec.rb