Permalink
Browse files

Missed some doc README changes to assigns macro

[ci skip]
  • Loading branch information...
gus committed Mar 21, 2012
1 parent 9ea2edd commit 2e2bc49a2b57c063435a92dc7839467d9be2b144
Showing with 8 additions and 8 deletions.
  1. +8 −8 README.markdown
View
@@ -142,14 +142,14 @@ denies.equivalent_to { Object }
Checks that the actual value has an instance variable defined within it's scope. You can also validate the value of that variable. Very much mimicing the `assigns` found in Rails-ish tests from way back in form, function, and need.
```ruby
-asserts("a person") { Person.new }.assigns(:email)`
-denies("a person") { Person.new }.assigns(:email)`
-asserts("a person") { Person.new(:email => "a@b.com") }.assigns(:email, "a@b.com")`
-denies("a person") { Person.new(:email => "a@b.com") }.assigns(:email, "a@b.com")`
-asserts.assigns { :email }`
-denies.assigns { :email }`
-asserts.assigns(:email) { "a@b.com" }`
-denies.assigns(:email) { "a@b.com" }`
+asserts("a person") { Person.new }.assigns(:email)
+denies("a person") { Person.new }.assigns(:email)
+asserts("a person") { Person.new(:email => "a@b.com") }.assigns(:email, "a@b.com")
+denies("a person") { Person.new(:email => "a@b.com") }.assigns(:email, "a@b.com")
+asserts.assigns { :email }
+denies.assigns { :email }
+asserts.assigns(:email) { "a@b.com" }
+denies.assigns(:email) { "a@b.com" }
```
#### Nil

0 comments on commit 2e2bc49

Please sign in to comment.