From 0ac0389039fa782316fd791b4bf174dd02b9725f Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 14 Sep 2013 20:42:27 +0200 Subject: Add simple spec for build script --- spec/build_spec.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 spec/build_spec.rb (limited to 'spec/build_spec.rb') diff --git a/spec/build_spec.rb b/spec/build_spec.rb new file mode 100644 index 00000000..8e0d6ed8 --- /dev/null +++ b/spec/build_spec.rb @@ -0,0 +1,8 @@ +$plugin_path = File.expand_path('../..', __FILE__) + +describe 'build script' do + it 'should run and return success code' do + Dir.chdir($plugin_path) + system('./build') + end +end -- cgit v1.2.3