Skip to content

Commit cea7e4e

Browse files
committed
assigns() => assigns.
1 parent b96c45c commit cea7e4e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Rails::Controller::Testing
22

3-
This gem brings back `assigns()` to your controller tests as well as `assert_template`
3+
This gem brings back `assigns` to your controller tests as well as `assert_template`
44
to both controller and integration tests.
55

6-
Note: This gem is only useful once `assigns()` and `assert_template` have been
6+
Note: This gem is only useful once `assigns` and `assert_template` have been
77
removed from Rails.
88

99
## Installation
@@ -22,9 +22,9 @@ Or install it yourself as:
2222

2323
## Usage
2424

25-
### assigns()
25+
### assigns
2626

27-
`assigns()` allows you to access the instance variables that have been passed to
27+
`assigns` allows you to access the instance variables that have been passed to
2828
your views.
2929

3030
```ruby

rails-controller-testing.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
1010
s.authors = ["Alan Guo Xiang Tan"]
1111
s.email = ["[email protected]"]
1212
s.homepage = "https://github.com/tgxworld/rails-controller-testing"
13-
s.summary = "Extracting `assigns()` and `assert_template` from ActionDispatch."
13+
s.summary = "Extracting `assigns` and `assert_template` from ActionDispatch."
1414
s.license = "MIT"
1515

1616
s.files = Dir["{lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]

0 commit comments

Comments
 (0)