Add simple spec for build script

This commit is contained in:
Adam Stankiewicz
2013-09-14 20:42:27 +02:00
parent 4bf3f6c300
commit 0ac0389039
3 changed files with 11 additions and 4 deletions

8
spec/build_spec.rb Normal file
View File

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