Hi, If I write the HTML format stories output to ~/ccrb_build-build_number/Stories/index.html. To get all styles rendered, I also need to copy /vendor/plugins/rspec/story_server/prototype/stylesheets/ and /vendor/plugins/rspec/story_server/prototype/javascripts/ to the ~/ccrb_build-build_number/Stories/. Just wonder is this the right way to do it? or there is a better/preferred way? Thanks Yi
Yi Wen wrote:> Hi, > > If I write the HTML format stories output to > ~/ccrb_build-build_number/Stories/index.html. To get all styles > rendered, I also need to copy > /vendor/plugins/rspec/story_server/prototype/stylesheets/ and > /vendor/plugins/rspec/story_server/prototype/javascripts/ to the > ~/ccrb_build-build_number/Stories/. > > Just wonder is this the right way to do it? or there is a > better/preferred way? Thanks > > Yi > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > rubyforge.org/mailman/listinfo/rspec-users >Yi, AFAIK that is the only way right now. Or, you could write a new formatter that will point to a more central location for the CSS and JS files. The HTML formatting and the story server is not really done so it has some rough edges. -Ben