spec/flipper/ui_spec.rb in flipper-ui-0.9.2 vs spec/flipper/ui_spec.rb in flipper-ui-0.10.0

- old
+ new

@@ -46,9 +46,15 @@ head '/features' }.to raise_error(Flipper::UI::RequestMethodNotSupported) end end + describe "Inspecting the built Rack app" do + it "returns a String" do + expect(build_app(flipper).inspect).to be_a(String) + end + end + # See https://github.com/jnunemaker/flipper/issues/80 it "can route features with names that match static directories" do post "features/refactor-images/actors", {"value" => "User:6", "operation" => "enable", "authenticity_token" => token}, "rack.session" => session