Add reload framework test case to oh-my-fish.spec

This commit is contained in:
Jorge Bucaran 2015-01-14 04:10:54 +09:00
parent 25d45b29c5
commit b56017e3f2

View File

@ -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