Class: Transpec::Syntax::ExampleGroup::ExplicitTypeMetadataRecordBuilder
Instance Method Summary
collapse
build, #build, param_names
Instance Method Details
#new_syntax ⇒ Object
134
135
136
|
# File 'lib/transpec/syntax/example_group.rb', line 134
def new_syntax
"describe 'some #{spec_type}', :type => #{spec_type.inspect} { }"
end
|
#old_syntax ⇒ Object
130
131
132
|
# File 'lib/transpec/syntax/example_group.rb', line 130
def old_syntax
"describe 'some #{spec_type}' { }"
end
|
#spec_type ⇒ Object
138
139
140
|
# File 'lib/transpec/syntax/example_group.rb', line 138
def spec_type
example_group.implicit_type_metadata
end
|