mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-23 22:29:08 +08:00
Add reload framework test case to oh-my-fish.spec
This commit is contained in:
parent
25d45b29c5
commit
b56017e3f2
|
@ -69,6 +69,13 @@ function describe_oh_my_fish -d "Oh-My-Fish test spec..."
|
|||
load_oh_my_fish
|
||||
expect $fish_function_path --to-contain $fish_path/themes/l
|
||||
end
|
||||
|
||||
function it_reloads_with_status_of_0 \
|
||||
-d "It should reload the framework with \$status of 0"
|
||||
|
||||
load_oh_my_fish
|
||||
expect $status --to-equal 0
|
||||
end
|
||||
end
|
||||
|
||||
function load_oh_my_fish
|
||||
|
|
Loading…
Reference in New Issue
Block a user