Merge pull request #1343 from olleolleolle/fix/spec-add-parens-to-avoid-warning
Spec: add parentheses to avoid Ruby warning
This commit is contained in:
commit
2a5cdb0255
|
@ -137,7 +137,7 @@ describe Sinatra::Namespace do
|
||||||
|
|
||||||
describe 'helpers' do
|
describe 'helpers' do
|
||||||
it 'are defined using the helpers method' do
|
it 'are defined using the helpers method' do
|
||||||
namespace /\/foo\/([^\/&?]+)\/bar\/([^\/&?]+)\// do
|
namespace(/\/foo\/([^\/&?]+)\/bar\/([^\/&?]+)\//) do
|
||||||
helpers do
|
helpers do
|
||||||
def foo
|
def foo
|
||||||
'foo'
|
'foo'
|
||||||
|
|
Loading…
Reference in New Issue