spec/test_app.rb in wildcard_finders-0.0.2 vs spec/test_app.rb in wildcard_finders-0.0.3
- old
+ new
@@ -9,9 +9,25 @@
a id="href_fuga" href="fuga"
a id="onclick_hoge" onclick="hoge"
_SLIM_
end
+get "/@class" do
+ slim <<_SLIM_
+a id="hoge_fuga" class="hoge fuga"
+a id="fuga_ugu" class="fuga ugu"
+_SLIM_
+end
+
+get "/text" do
+ slim <<_SLIM_
+a id="text_hoge_href_hoge" href="hoge"
+ | hoge
+a id="text_fuga_href_hoge" href="hoge"
+ | fuga
+_SLIM_
+end
+
__END__
@@ layout
html
body