1
0
Fork 0
mirror of synced 2024-11-16 14:05:34 -05:00
ultimate-vim/sources_non_forked/vim-ruby/spec/indent/arguments_spec.rb
Maksim Pecherskiy 2deb035254 Cleaning deps.
2014-08-07 19:42:41 -04:00

24 lines
473 B
Ruby

require 'spec_helper'
describe "Indenting" do
specify "multi-line arguments" do
assert_correct_indenting <<-EOF
User.new(
:first_name => 'Some',
:second_name => 'Guy'
)
EOF
assert_correct_indenting <<-EOF
User.new(:first_name => 'Some',
:second_name => 'Guy')
EOF
assert_correct_indenting <<-EOF
User.new(
:first_name => 'Some',
:second_name => 'Guy'
)
EOF
end
end