Permalink
Browse files

fix html and factory girl. remove conflicting ruby snippets. dont nee…

…d rjs
  • Loading branch information...
1 parent b1b1279 commit e42aef33c821728a071bda52d01cadb6b86d47a4 @enriquez enriquez committed with scrooloose Dec 6, 2009
View
@@ -1,3 +1,3 @@
-<body<+ id="<+id+>"<+ onload="<++>"+>+>>
- <++>
-</body>
+<body id="${1}">
+ ${2}
+</body>
View
@@ -1 +1 @@
-<h1<+ id="<+id+>"+>><++></h1>
+<h1 id="${1}">${2}</h1>
View
@@ -1 +1 @@
-<input type="text" name="<++>" <+value="<++>"+> <+size="<++>"+> <+maxlength="<++>"+> />
+<input type="${1:text/submit/hidden/button}" name="${2}" value="${3:value}" id="${4:$2}"/>${5}
View
@@ -1 +1 @@
-<option<+ value="<+option+>"+>><+value+></option>
+<option value="${1}">${2}</option>
View
@@ -1,5 +1,3 @@
-<select name="<+some_name+>" id="<+id+>"<+<+ multiple+><+ onchange="<++>"+><+ size="<+1+>"+>+>>
- <option<+ value="<+option1+>"+>><+value1+></option>
- <option<+ value="<+option2+>"+>><+value2+></option>
- <++>
+<select name="${1}" id="${2}">
+ ${3}
</select>
@@ -1 +1 @@
-Factory(:<+factory_name+><+, <++>+>)<++>
+Factory(:${1}, ${2})${3}
@@ -1 +1 @@
-Factory.build(:<+factory_name+><+, <++>+>)<++>
+Factory.build(:${1}, ${2})${3}
@@ -1,4 +1,4 @@
-Factory.define(:${1:model}) do |${2:m}|
+Factory.define(:${1:model}) do |${2:f}|
${3}
end
${4}
@@ -1 +0,0 @@
-page.hide <+"<+id(s)+>"+>
@@ -1 +0,0 @@
-page.insert_html :<+top+>, <+"<+id+>"+>, :<+partial => "<+template+>"+>
@@ -1 +0,0 @@
-page.replace <+"<+id+>"+>, :<+partial => "<+template+>"+>
@@ -1 +0,0 @@
-page.replace_html <+"<+id+>"+>, :<+partial => "<+template+>"+>
@@ -1 +0,0 @@
-page.show <+"<+id(s)+>"+>
@@ -1 +0,0 @@
-page.toggle <+"<+id(s)+>"+>
@@ -1 +0,0 @@
-page.visual_effect :<+toggle_slide+>, <+"<+DOM ID+>"+>
@@ -1 +0,0 @@
-should_have_named_scope :${1:scope}, :conditions => {${2:conditions}}
View
@@ -1 +0,0 @@
-assert_nothing_raised(${1:Exception}) { ${2} }
View
@@ -1 +0,0 @@
-assert_send [${1:object}, :${2:message}, ${3:args}]

0 comments on commit e42aef3

Please sign in to comment.