From b56017e3f210c8aedac1acbd5018cb54109dc8f7 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Wed, 14 Jan 2015 04:10:54 +0900 Subject: [PATCH] Add reload framework test case to oh-my-fish.spec --- spec/oh-my-fish.spec.fish | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spec/oh-my-fish.spec.fish b/spec/oh-my-fish.spec.fish index a9a5aaf..9483c6a 100755 --- a/spec/oh-my-fish.spec.fish +++ b/spec/oh-my-fish.spec.fish @@ -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