spec/acceptance/modifying_spec.rb in brief-1.5.1 vs spec/acceptance/modifying_spec.rb in brief-1.5.2
- old
+ new
@@ -47,10 +47,9 @@
it "refreshes the browse endpoint data after an update" do
needle = rand(36**36).to_s(36)
post "/update/concept.html.md", content: "# Modified Content #{ needle }", data: {needle: needle}
get("/browse/concepts")
-
needles = json.map {|h| h["data"]["needle"] }
expect(needles).to include(needle)
end
it "lets me update just the metadata for an existing document" do