diff --git a/spec/marten-turbo/handlers/record_delete_spec.cr b/spec/marten-turbo/handlers/record_delete_spec.cr index 6dec4a2..0f8c577 100644 --- a/spec/marten-turbo/handlers/record_delete_spec.cr +++ b/spec/marten-turbo/handlers/record_delete_spec.cr @@ -76,7 +76,6 @@ describe MartenTurbo::Handlers::RecordCreate do it "deletes the record and returns a delete turbo stream when a turbo request was made and a template is given" do tag_1 = Tag.create!(name: "Tag 1") - tag_2 = Tag.create!(name: "Tag 2") params = Marten::Routing::MatchParameters{"pk" => tag_1.pk!} request = Marten::HTTP::Request.new( @@ -94,7 +93,8 @@ describe MartenTurbo::Handlers::RecordCreate do response = handler.post response.should_not be_a Marten::HTTP::Response::Found - response.content.strip.should contain "" + response.content.strip.should contain "" end end end