OSDN Git Service
(root)
/
praisedb
/
praisedb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add rspec-rails
[praisedb/praisedb.git]
/
vendor
/
plugins
/
rspec-rails
/
spec
/
resources
/
helpers
/
view_spec_helper.rb
1
module ViewSpecHelper
2
def method_in_helper
3
"<div>This is text from a method in the ViewSpecHelper</div>"
4
end
5
6
def method_in_template_with_partial
7
"<div>method_in_template_with_partial in ViewSpecHelper</div>"
8
end
9
10
def method_in_partial
11
"<div>method_in_partial in ViewSpecHelper</div>"
12
end
13
end