Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Upgrade `vim-vspec` to work with latest `vim-flavor`.
  • Loading branch information
Greg Lazarev committed May 22, 2015
1 parent 80cbe2f commit d9095ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VimFlavor.lock
Original file line number Diff line number Diff line change
@@ -1 +1 @@
kana/vim-vspec (1.4.1)
kana/vim-vspec (1.6.1)
6 changes: 3 additions & 3 deletions t/rspec_test.vim
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe "RunSpecs"
end

it "sets the command with provided runner"
let expected = "^silent !\.\*/bin/iterm 'rspec " . s:filename . "'$"
let expected = "^silent ! '\.\*/bin/iterm' 'rspec " . s:filename . "'$"

call Call("s:RunSpecs", s:filename)

Expand All @@ -44,7 +44,7 @@ describe "RunSpecs"
end

it "sets the command with default runner"
let expected = "^silent !\.\*/bin/os_x_terminal 'rspec " . s:filename . "'$"
let expected = "^silent ! '\.\*/bin/os_x_terminal' 'rspec " . s:filename . "'$"

call Call("s:RunSpecs", s:filename)

Expand Down Expand Up @@ -84,7 +84,7 @@ describe "RunSpecs"
end

it "sets the provided GUI command"
let expected = "^silent !\.\*/bin/os_x_terminal '!Dispatch rspec " . s:filename . "'$"
let expected = "^silent ! '\.\*/bin/os_x_terminal' '!Dispatch rspec " . s:filename . "'$"
call Call("s:RunSpecs", s:filename)

Expect Ref("s:rspec_command") =~ expected
Expand Down

0 comments on commit d9095ad

Please sign in to comment.