Class: ViewSpec::Group
Instance Method Summary
collapse
#controller
#scenario, #scenarios
#layout
Methods included from DSL::Title
#title
#entries, #initialize, lookup_attr, lookup_attrs, type
Instance Method Details
#short_identifier ⇒ Object
8
9
10
|
# File 'lib/view_spec/group.rb', line 8
def short_identifier
@subject.to_short_identifier
end
|
#spec ⇒ Object
12
13
14
|
# File 'lib/view_spec/group.rb', line 12
def spec
@outer_scope
end
|
#to_param ⇒ Object
16
17
18
|
# File 'lib/view_spec/group.rb', line 16
def to_param
short_identifier
end
|
#to_partial_path ⇒ Object
20
21
22
|
# File 'lib/view_spec/group.rb', line 20
def to_partial_path
"view_spec/group"
end
|