Sha256: 1d8ff83f1432aa5f02f4e8b947e520096879d4e47f551df5cacdf14fa941b45f
Contents?: true
Size: 741 Bytes
Versions: 5
Compression:
Stored size: 741 Bytes
Contents
require 'spec_helper' describe "the configuration" do subject {Hydra::Derivatives } it "should have some configuration defaults" do subject.ffmpeg_path.should == 'ffmpeg' subject.enable_ffmpeg.should be_true subject.libreoffice_path.should == 'soffice' subject.temp_file_base.should == '/tmp' subject.fits_path.should == 'fits.sh' end it "should let you change the configuration" do subject.ffmpeg_path = '/usr/local/ffmpeg-1.0/bin/ffmpeg' subject.ffmpeg_path.should == '/usr/local/ffmpeg-1.0/bin/ffmpeg' end it "should let you reset the configuration" do subject.ffmpeg_path = '/usr/local/ffmpeg-1.0/bin/ffmpeg' subject.reset_config! subject.ffmpeg_path.should == 'ffmpeg' end end
Version data entries
5 entries across 5 versions & 1 rubygems