mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00: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
|
load_oh_my_fish
|
||||||
expect $fish_function_path --to-contain $fish_path/themes/l
|
expect $fish_function_path --to-contain $fish_path/themes/l
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
function load_oh_my_fish
|
function load_oh_my_fish
|
||||||
|
Loading…
Reference in New Issue
Block a user