Sha256: 2d0a043f140c9583f2810d27e36bbab6e235b65ce6047b9d82d9de5aa7768344

Contents?: true

Size: 694 Bytes

Versions: 1

Compression:

Stored size: 694 Bytes

Contents

expected="spec/models/test_file_finder_gem_executable_widget_spec.rb"
mkdir -p "spec/models"
echo "existing specs" >> $expected

actual=$( ruby -Ilib exe/tff app/models/test_file_finder_gem_executable_widget.rb)
rm $expected

if [[ -n $actual && $expected = $actual ]]
then
	echo "Executable verified"
else
	echo "Could not verify executable"
	exit 1
fi

expected="spec/db/schema_spec.rb"
mkdir -p "spec/db"
echo "existing schema specs" >> $expected

actual=$( ruby -Ilib exe/tff -f spec/fixtures/mapping.yml db/schema.rb)
rm $expected

if [[ -n $actual && $expected = $actual ]]
then
	echo "Executable using mapping verified"
else
	echo "Could not verify executable using mapping"
	exit 1
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_file_finder-0.1.0 tff_test.sh