spec/features/sketchily_spec.rb in sketchily-1.5.0 vs spec/features/sketchily_spec.rb in sketchily-4.0.0
- old
+ new
@@ -1,10 +1,10 @@
-require "minitest_helper"
+require "test_helper"
# To be handled correctly by Capybara this spec must end with "Feature Test"
feature "Sketchily Feature Test" do
scenario "should render the sketchily html" do
- visit sketchily_path
+ @drawing = Drawing.create
+ visit sketchily_drawing_path(@drawing)
page.must_have_selector("#svgedit_drawing_svg")
end
end
-